package com.platform_server.entity.db;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author：Kevin.W.Liu
 * @Date: 2022/3/7
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DbBase implements Serializable {
    private String description;
    private String inUser;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date inDate;
    private String lastEditUser;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastEditDate;
}
